import 'dart:io';

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class KbProgressIndicator extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    Widget child;
    if (Platform.isIOS) {
      child = CupertinoActivityIndicator();
    } else {
      child = CircularProgressIndicator();
    }
    return child;
  }
}
